<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/style_text.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form-buttons.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/link-buttons.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/menu.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/statics.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/messages.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/table-sorter.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/tabs.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/forms.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/datepicker.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/jquery.fancybox-1.3.4.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/accordions.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/jquery.treeview.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/wysiwyg.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/wysiwyg.modal.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/wysiwyg-editor.css" media="screen, projection" />
	
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/superfish.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/supersubs.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/hoverIntent.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.flot.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.graphtable-0.2.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-ui.js"></script> 
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/customInput.jquery.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.tablesorter.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.tablesorter.pager.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.sparkbox-select.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.fancybox-1.3.4.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.filestyle.mini.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/date.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.datepicker.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.treeview.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.tipsy.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.wysiwyg.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/plugins/wysiwyg.rmFormat.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/controls/wysiwyg.image.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/controls/wysiwyg.link.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/controls/wysiwyg.table.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/inline.js"></script>
	
	<?php $titleModel=Konfigurasi::model()->findByPk(0); ?>
	<title><?php echo $titleModel->site_title; ?></title>
	<link REL="SHORTCUT ICON" HREF="images/<?php echo $titleModel->site_favicon; ?>">

</head>
<body>
<input type="hidden" id="baseurl" value="<?php echo Yii::app()->request->baseUrl; ?>"/>
<div class="container">   
  
	<div class="logo-labels">
		
		<h1 style="	background : url(images/<?php echo $titleModel->img_header_admin; ?>) no-repeat left top;"><a href="#">CleanDream</a></h1>
		<ul>
			<li class="logout"><a href="<?php echo Yii::app()->createUrl("/login/logout"); ?>"><span>Logout</span></a></li>
		</ul>
	</div>
	
	<div class="menu-search">
		<ul> 
			<li class="current"><a href="<?php echo Yii::app()->createUrl("/site/index"); ?>">Dashboard</a></li> 
			<li> 
				<a href="#">Master</a> 
				<ul> 
					<li><a href="<?php echo Yii::app()->createUrl("/kota/admin"); ?>">Kota</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/user/admin"); ?>">User</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/kategoriProduk/admin"); ?>">Kategori Produk</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/role/admin"); ?>">User Role</a></li>
				</ul> 
			</li> 
			<li> 
				<a href="#">Laporan</a> 
				<ul> 
					<li><a href="<?php echo Yii::app()->createUrl("/whislist/index"); ?>">Daftar Wishlist</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/pemesanan/index"); ?>">Daftar Order / toko</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/produk/index"); ?>">Daftar Produk / toko</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/user/list_admin"); ?>">Daftar Admin</a></li>
				</ul> 
			</li> 
			<li> 
				<a href="#">Konfigurasi</a> 
				<ul> 
					<li><a href="<?php echo Yii::app()->createUrl("/konfigurasi/about_us", array('id'=>0)); ?>">About Us</a></li>
					<li><a href="<?php echo Yii::app()->createUrl("/konfigurasi/update", array('id'=>0)); ?>">Konfigurasi</a></li>
				</ul> 
			</li> 
		</ul>
		<div class="search">
			<form action="" method="post">
				<input type="text" value="Seachterm" />
				<button type="submit"></button>
			</form> 
		</div>
	</div>
	<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	<?php endif?>

		<?php echo $content; ?>
	
	<div class="footer">
		<div class="split">&#169; Copyright <a href="#">website.com</a></div> 
		<div class="split right">Powered by <a href="http://themeforest.net/item/cleandream/490140" target="_blank">CleanDream</a></div> 
	</div>
</div>

</body>

</html> 